package com.apestech.framework.file.callback;

import java.io.IOException;

public interface BufferFileInter {
	
	public void setFetchSize(int fetchSize);
	
	public int size() throws Exception;
	
	public int getIndex();
	
	public String getText() throws Exception;
	
	public String getText(int index) throws Exception;
	
	public void add(String text) throws Exception;
	
    public boolean first();
	
	public boolean previous();
	
	public boolean next() throws Exception;
	
	public boolean last() throws Exception;
	
	public void clear() throws Exception;
	
	public void close() throws IOException;

}
